/*
 * MainFrame.h
 *
 *  Created on: 2012-8-28
 *      Author: yangentao@gmail.com
 */

#ifndef MAINFRAME_H_
#define MAINFRAME_H_
#include "window.h"
namespace ui {

class MainFrame: public WindowX {
	typedef WindowX Super;

private:
	static WindowClass winClass;
	static const LPCTSTR MainFrameClassName;
	static int mainFrameCount;
public:
	MainFrame();
	virtual ~MainFrame();
public:
	virtual bool create(LPCTSTR title, Rect rect);
	virtual bool create(LPCTSTR title, int x, int y, int width, int height);
	virtual void fireOnFinished(HWND w);
};

} /* namespace ui */
#endif /* MAINFRAME_H_ */
